//
//  YUNEssenceViewController.m
//  BaiSi
//
//  Created by warm on 17/7/30.
//  Copyright © 2017年 hp. All rights reserved.
//

#import "YUNEssenceViewController.h"

@interface YUNEssenceViewController ()

@end

@implementation YUNEssenceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
 
    
    [self setupNavBar];
    
}



-(void)setupNavBar
{


    self.navigationItem.leftBarButtonItem=[UIBarButtonItem itemWithimage:[UIImage imageNamed:@"nav_item_game_icon"] highImage:[UIImage imageNamed:@"nav_item_game_click_icon"] target:self action:@selector(game)];
    
    // 右边按钮
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem itemWithimage:[UIImage imageNamed:@"navigationButtonRandom"] highImage:[UIImage imageNamed:@"navigationButtonRandomClick"] target:nil action:nil];
    
    // titleView
    self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"MainTitle"]];


}
-(void)game
{
    NSLog(@"%s",__func__);


}
@end
